﻿using RotovapPlatform.Domain.Common;
using RotovapPlatform.Domain.Equipment.Device.TCU.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RotovapPlatform.Domain.Equipment.Interfaces.Base
{
	/// <summary>
	/// 温控单元基础接口
	/// </summary>
	public interface ITCUBase : IEquipmentBase
	{
		//电源开关控制
		Task<OperationResult> PowerSwitchAsync(bool isOn);

		//循环开关控制
		Task<OperationResult> CirculationSwitchAsync(bool isOn);

		//允许制冷开关控制
		Task<OperationResult> AllowCoolingSwitchAsync(bool isOn);

		//设置温度
		Task<OperationResult> SetTemperatureAsync(double temperature);

		/// <summary>
		/// 获取TCU状态
		/// </summary>
		Task<TCUStatus> GetTCUStatusAsync();
	}
}
